<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Access-Control-Allow-Origin" charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- Favicon -->
    <link rel="shortcut icon" href="assets/media/image/favicon.png" />

    <!-- Plugin styles -->
    <link rel="stylesheet" href="vendors/bundle.css" type="text/css">

    <!-- Prism -->
    <link rel="stylesheet" href="vendors/prism/prism.css" type="text/css">

    <!-- App styles -->
    <link rel="stylesheet" href="assets/css/app.css" type="text/css">

</head>

<body>
    <a class="btn btn-outline-primary" href="/Education">新建</a>
    <a class="btn btn-outline-primary" href="/main">返回</a>


    <table class="table table-striped mb-0">
        <thead>
    <tr>

        <th class="text-center">毕业时间</th>
        <th class="text-center">学历项目</th>
        <th class="text-center">学历水平</th>
        <th class="text-center">学历性质</th>
        <th class="text-center">毕业院校</th>
        <th class="text-center">所学专业</th>
        <th class="text-center">证书编号</th>
        <th></th>
    </tr>
    </thead>
        <tbody>
        <tr th:each="education: ${educationList}">
            <td class="text-center" th:text="${education.graduationDate}"></td>
            <td class="text-center" th:text="${education.educationNum}"></td>
            <td class="text-center" th:text="${education.educationLeval}"></td>
            <td class="text-center" th:text="${education.educationSchool}"></td>
            <td class="text-center" th:text="${education.educationType}"></td>
            <td class="text-center" th:text="${education.educationMajor}"></td>
            <td class="text-center" th:text="${education.educationDegree}"></td>
            <td class="text-center" th:text="${education.certificateNumber}"></td>
            <td>
                <!--a class="btn btn-outline-primary" href="@{'/updateEducation/'+${userName}}">修改</a-->
                <a class="btn btn-outline-primary" th:href="@{'/deleteEducation/'+${education.certificateNumber}}">删除</a>
            </td>

            <!--td class="text-right">
                <a href="#" data-toggle="tooltip" title="Detail">
                    <i class="fa fa-external-link"></i>
                </a>
            </td-->

        </tr>


        </tbody>
    </table>












    <script src="js/node_modules/jquery/dist/jquery.js"></script>
    <!-- Plugin scripts -->
    <script src="vendors/bundle.js"></script>
    <!-- Prism -->
    <script src="vendors/prism/prism.js"></script>
    <!-- App scripts -->
    <script src="assets/js/app.js"></script>



    <script>

    </script>
</body>

</html>
